package com.etime.shycourse.services.account.interfaces;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shycourse.dto.SettlementDto;
import com.etime.shycourse.dto.SysUserDto;
import com.etime.shycourse.pojo.Settlement;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

/**
 * 在线课程结算支付service层接口(财务接口)
 */
public interface AccountFinanceService {


   // Page<SysUserDto> getAllGroupByUser(int settlementpay, long pagenum, long pagesize,int settlementtype);
    Page<SettlementDto> getAllSettlements(int settlementpay, long pagenum, long pagesize, int settlementtype);

    Page<SettlementDto> findUserAndSettlementInfo(int id, int settlementpay, long pagenum, long pagesize);

    List<SettlementDto> getUserAndSettlementInfo(int id, int settlementpay);

    int pay(int[] settlementids);

//    Page<SettlementDto> getAllGroupByTime(long pagenum, long pagesize, int settlementpay, int roleid,String startTime,String endTime);

    Page<Date> getDateList(long pagenum, long pagesize, int settlementpay);

    void print(int[] settlementids, HttpServletResponse response,String type);

    List<SettlementDto> getSettlementByDate(int settlementpay, String settlementtime,int id,String type);

    Page<Date> findDateList(long pagenum,long pagesize,int settlementpay, Integer id,String type);


}
